package com.stateflow.facade.dto;

import com.stateflow.facade.common.model.ToString;

/**
 * Created by weiqingming on 2019/11/27.
 * 具体操作模型
 */
public class OperatorDTO extends ToString {

    private static final long serialVersionUID = 2787825814576730485L;

    /** 操作码 */
    private String operatorCode;

    /** 操作名称 */
    private String operatorName;

    /**
     * 通知方式
     * @see com.stateflow.facade.enums.NotifyTypeEnum
     * */
    private String notifyType;

    /** 通知URL */
    private String notifyUrl;

    /** 成功时流转到目标状态 */
    private String nextState;

    public String getOperatorCode() {
        return operatorCode;
    }

    public void setOperatorCode(String operatorCode) {
        this.operatorCode = operatorCode;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getNotifyType() {
        return notifyType;
    }

    public void setNotifyType(String notifyType) {
        this.notifyType = notifyType;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getNextState() {
        return nextState;
    }

    public void setNextState(String nextState) {
        this.nextState = nextState;
    }
}
